from parser import *
from utils import *
def display_timeline(digu_lists):
   for digu_list in digu_lists:
        print \
                str(digu_lists.index(digu_list) + 1).rjust(2),\
                ' ',\
                is_reply(digu_list['in_reply_to_status_id']) and 'r' or ' ',\
                digu_list['picPath'] and 'p' or ' ',\
                '|', parse_time(digu_list['created_at']).rjust(6), '|',\
                (digu_list['user']['screen_name'] + ':').ljust(8),\
                ' ',\
                digu_list['text']


